package com.mill.Service;

import com.mill.Service.fallback.PaymentServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@Service
@FeignClient(value = "payment-provider",fallback = PaymentServiceFallback.class)
public interface IPaymentFeginService {
    @GetMapping("/payment/index")
    String index();
}